﻿

namespace Huirui.Cavan.Presentation.Controller.SystemModule
{
    using System.Collections.Generic;
    using System.Linq;
    using System.Web.Mvc;
    using Huirui.Cavan.Application.MainBoundedContext.SystemModule;
    using Huirui.Cavan.Domain.MainBoundedContext.SystemModule;
    using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;
    using Huirui.Cavan.Presentation.Seedwork;
    using Huirui.Cavan.Presentation.ViewModel.SystemModule;

    public class NoticeController : EntityController<Notice, NoticeSearch, INoticeViewModel, INoticeAppService>, INoticeController
    {
        public NoticeController()
        {
            this.Model = ModelFactory.CreateModel<INoticeViewModel>();
        }

        public override string ControllerName
        {
            get { return ControllerConst.NOTICE; }
        }

        public override bool UseDenied
        {
            get { return false; }
        }
    }
}
